package com.juejin.protocol.response;

import com.juejin.protocol.Packet;
import lombok.Data;
import lombok.EqualsAndHashCode;

import static com.juejin.protocol.command.Command.LOGOUT_RESPONSE;

/**
 * @author liliang
 * @date 2020/4/24.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LogoutResponsePacket extends Packet {

    private boolean success;

    private String reason;


    @Override
    public Byte getCommand() {

        return LOGOUT_RESPONSE;
    }
}
